package com.llynic.designdemo.decoratormode;

public class ConcreteComponent implements Component{

    @Override
    public void say(){
        System.out.println(this.getClass().getName()+"say Hello Method");
    }


    @Override
    public void buy(){
        System.out.println(this.getClass().getName()+"buy shopping Method");
    }
}
